#include <stdio.h>
#include <string.h>

int main() {
  char s[64];
  size_t cnt[128] = {0};

  fgets(s, sizeof(s), stdin);
  s[strlen(s) - 1] = '\0';

  for (char *p = s; *p; p++) {
    cnt[*p]++;
  }

  for (char i = 0; i < sizeof(cnt); i++) {
    if (cnt[i]) {
      printf("%c count = %ld;\n", i, cnt[i]);
    }
  }

  return 0;
}
